package cn.travel.yoyo.guide.pojo.community;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 *  悠游社区推荐文章收藏表
 */
public class Community_article_collection implements Serializable {

    // 收藏编号
    private Integer id;
    // 推荐文章编号
    private Integer articleId;
    // 被谁收藏
    private Integer collectBy;
    //收藏时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date  collectDate;

    public Community_article_collection() {
    }

    public Community_article_collection(Integer id, Integer articleId, Integer collectBy, Date collectDate) {
        this.id = id;
        this.articleId = articleId;
        this.collectBy = collectBy;
        this.collectDate = collectDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Integer getCollectBy() {
        return collectBy;
    }

    public void setCollectBy(Integer collectBy) {
        this.collectBy = collectBy;
    }

    public Date getCollectDate() {
        return collectDate;
    }

    public void setCollectDate(Date collectDate) {
        this.collectDate = collectDate;
    }
}
